<?php
namespace system\core;

class Log 
{
    private static $_memory = array();
    
    private static $_active = TRUE;
    
    public static function message( $message )
    {
        if ( self::$_active === TRUE )
        {
            self::$_memory[] = $message;
        }
        return FALSE;
    }
    
    public static function disable()
    {
        self::$_active = FALSE;
    }
    
    public static function enable()
    {
        self::$_active = TRUE;
    }
}

/* End of file Log.php */
